---
title: Refact Documentation
description: Refact is an open-source AI coding assistant for VS Code and JetBrains.
next:
  link: /introduction/quickstart/
  label: Quickstart
---

Refact is an open-source AI coding assistant for VS Code and JetBrains. 

It allows you to use various open-source (like **Code Llama**) and closed-source (like **GPT-4**) Large Language Models (**LLMs**) for code completion, code refactoring and chat. 

Self-hosted Refact allows you to personalize code LLMs for code completion with an intuitive Web UI. 

## Guides
To get started, follow the guides:
- [QuickStart](https://docs.refact.ai/introduction/quickstart/)
- [Self-hosted Refact](https://docs.refact.ai/guides/version-specific/self-hosted/)
- [Enterprise Refact Edition](https://docs.refact.ai/guides/version-specific/enterprise/getting-started/)

## Privacy
Refact allows you to restrict access to particular files or projects, ensuring that your private code or confidential files are protected. 

We never store your code on the server side.

Read more about privacy settings in the [Privacy Documentation](https://docs.refact.ai/features/code-completion/#privacy).


import { Card, CardGrid } from '@astrojs/starlight/components';

## More Resources

<CardGrid>
	<Card title="Discord server" icon="pencil">
		To get assistance from the Refact community and team members, join the [Discord server](https://smallcloud.ai/discord).
	</Card>
	<Card title="FAQ" icon="magnifier">
		[FAQ segment](https://docs.refact.ai/faq/) covers the most popular questions about Refact.
	</Card>
	<Card title="Contributing" icon="rocket">
		To set up Refact for development, follow the [Contributing Guide](https://docs.refact.ai/contributing/) and check the available issues on [GitHub](https://github.com/smallcloudai/refact).
	</Card>
</CardGrid>
